package com.annchain.og_browser.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("最新交易")
public class LatestTransactionVO {
    @ApiModelProperty("高度")
    private Integer height;

    @ApiModelProperty("From")
    private AddressVo from;
    @ApiModelProperty("To")
    private AddressVo to;

    @ApiModelProperty("多久前的交易")
    private Long timeDiff;

    //出块时间戳
    @ApiModelProperty("出块时间戳")
    private Long outputTime;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("交易哈希")
    private String hash;
}